﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyWeb.Business;
using MyWeb.Data;
using MyWeb.Common;

namespace MobileRecharge
{
    public partial class CustomerCare : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnFeedback_Click(object sender, EventArgs e)
        {
            string name = "";
            if (Session["Username"] != null)
            {
                name = Session["Username"].ToString();
            }
            else
                name = "Anonymous";
                tb_CustomerCareInfo obj = new tb_CustomerCareInfo();
                obj.Content = txtContent.Text;
                obj.UserName = Session["Username"].ToString();
                obj.Status = "0";
                obj.Title = txtTitle.Text;
                obj.reply = "";
                tb_CustomerCareService.tb_CustomerCare_Insert(obj);
                WebMsgBox.Show("Your problem will be solved as soon!!!");
                Response.Redirect("CustomerCareController.aspx");
            
           
        }
    }
}